<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/TIN.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">TIN.h</div></div>
</div><!--header-->
<div class="contents">
<a href="geo3dml_2_t_i_n_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;<a class="code" href="_geometry_8h.html">Geometry.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="foldopen" id="foldopen00008" data-start="{" data-end="};">
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_t_i_n.html">    8</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_t_i_n.html">TIN</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_geometry.html">Geometry</a> {</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_t_i_n.html#aadd39ef72725b5de05073e93c000d595">   10</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_t_i_n.html#aadd39ef72725b5de05073e93c000d595">TIN</a>();</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_t_i_n.html#a1d267b78658a687bae7cc15ba77613f0">   11</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classgeo3dml_1_1_t_i_n.html#a1d267b78658a687bae7cc15ba77613f0">~TIN</a>();</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_t_i_n.html#aa1e5fb7d99ee89568a29873d8f22cbd0">   14</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_t_i_n.html#aa1e5fb7d99ee89568a29873d8f22cbd0">AppendVertex</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) = 0;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_t_i_n.html#a1cf8307ac6dd4dc47ee77bf1e7d3347f">   15</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_t_i_n.html#a1cf8307ac6dd4dc47ee77bf1e7d3347f">GetVertexCount</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_t_i_n.html#abcd24db61e5fe9f1a9965f720bcf58a2">   16</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_t_i_n.html#abcd24db61e5fe9f1a9965f720bcf58a2">GetVertexAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">double</span>&amp; x, <span class="keywordtype">double</span>&amp; y, <span class="keywordtype">double</span>&amp; z) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_t_i_n.html#a2ca9f6db7252485a71c7029ead78775c">   22</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_t_i_n.html#a2ca9f6db7252485a71c7029ead78775c">AppendTriangle</a>(<span class="keywordtype">int</span> v1, <span class="keywordtype">int</span> v2, <span class="keywordtype">int</span> v3) = 0;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_t_i_n.html#a57711ca08bfce55f0de735b1a5ddc597">   23</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_t_i_n.html#a57711ca08bfce55f0de735b1a5ddc597">GetTriangleCount</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_t_i_n.html#ae7f64574c0cd7e481f0dc6acc53dbf4f">   24</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_t_i_n.html#ae7f64574c0cd7e481f0dc6acc53dbf4f">GetTriangleAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span>&amp; v1, <span class="keywordtype">int</span>&amp; v2, <span class="keywordtype">int</span>&amp; v3) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    };</div>
</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>}</div>
<div class="ttc" id="a_geometry_8h_html"><div class="ttname"><a href="_geometry_8h.html">Geometry.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_geometry_html"><div class="ttname"><a href="classgeo3dml_1_1_geometry.html">geo3dml::Geometry</a></div><div class="ttdoc">A Geometry object is thread safe.</div><div class="ttdef"><b>Definition</b> Geometry.h:11</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_t_i_n_html"><div class="ttname"><a href="classgeo3dml_1_1_t_i_n.html">geo3dml::TIN</a></div><div class="ttdef"><b>Definition</b> TIN.h:8</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_t_i_n_html_a1cf8307ac6dd4dc47ee77bf1e7d3347f"><div class="ttname"><a href="classgeo3dml_1_1_t_i_n.html#a1cf8307ac6dd4dc47ee77bf1e7d3347f">geo3dml::TIN::GetVertexCount</a></div><div class="ttdeci">virtual int GetVertexCount() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_t_i_n_html_a1d267b78658a687bae7cc15ba77613f0"><div class="ttname"><a href="classgeo3dml_1_1_t_i_n.html#a1d267b78658a687bae7cc15ba77613f0">geo3dml::TIN::~TIN</a></div><div class="ttdeci">virtual ~TIN()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_t_i_n_html_a2ca9f6db7252485a71c7029ead78775c"><div class="ttname"><a href="classgeo3dml_1_1_t_i_n.html#a2ca9f6db7252485a71c7029ead78775c">geo3dml::TIN::AppendTriangle</a></div><div class="ttdeci">virtual void AppendTriangle(int v1, int v2, int v3)=0</div><div class="ttdoc">指定3个顶点，添加一个三角形。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_t_i_n_html_a57711ca08bfce55f0de735b1a5ddc597"><div class="ttname"><a href="classgeo3dml_1_1_t_i_n.html#a57711ca08bfce55f0de735b1a5ddc597">geo3dml::TIN::GetTriangleCount</a></div><div class="ttdeci">virtual int GetTriangleCount() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_t_i_n_html_aa1e5fb7d99ee89568a29873d8f22cbd0"><div class="ttname"><a href="classgeo3dml_1_1_t_i_n.html#aa1e5fb7d99ee89568a29873d8f22cbd0">geo3dml::TIN::AppendVertex</a></div><div class="ttdeci">virtual void AppendVertex(double x, double y, double z)=0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_t_i_n_html_aadd39ef72725b5de05073e93c000d595"><div class="ttname"><a href="classgeo3dml_1_1_t_i_n.html#aadd39ef72725b5de05073e93c000d595">geo3dml::TIN::TIN</a></div><div class="ttdeci">TIN()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_t_i_n_html_abcd24db61e5fe9f1a9965f720bcf58a2"><div class="ttname"><a href="classgeo3dml_1_1_t_i_n.html#abcd24db61e5fe9f1a9965f720bcf58a2">geo3dml::TIN::GetVertexAt</a></div><div class="ttdeci">virtual void GetVertexAt(int i, double &amp;x, double &amp;y, double &amp;z) const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_t_i_n_html_ae7f64574c0cd7e481f0dc6acc53dbf4f"><div class="ttname"><a href="classgeo3dml_1_1_t_i_n.html#ae7f64574c0cd7e481f0dc6acc53dbf4f">geo3dml::TIN::GetTriangleAt</a></div><div class="ttdeci">virtual void GetTriangleAt(int i, int &amp;v1, int &amp;v2, int &amp;v3) const =0</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
